package com.leetao.dingtalk.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 钉钉配置类
 * @author 菅江晖
 * @date 2021/5/24 - 10:07
 */
@ConfigurationProperties(prefix = "jjh.ding-talk")
public class DingTalkProperties {

    /**
     * agentId
     */
    Long agentId;

    /**
     * key
     */
    String appKey;

    /**
     * Secret
     */
    String appSecret;

    /**
     * 是否启用
     */
    Boolean enable;

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }
}
